package com.wyy.service;

import com.wyy.bean.Users;

import java.util.List;

/**
 * @ClassName UserDao
 * @Description //TODO
 * @Author wky
 * @Date 2021/9/12 14:50
 * @Version 1.0
 **/
public interface UsersService {
    
    //登录方法
    public Users login(String username,String password);
    
    //查询用户列表
    public List<Users> getUsersList(int pageIndex,int pageSize);
    
    //查询总条数
    public int total();
    
    //插入用户
    
    public int insertUser(Users users);
}
